datSeg SEGMENT
		string DB 'hello world!',0DH, 0AH, '$'
		;0DH: return, 0AH: line feed
datSeg ENDS

;这是一个helloworld程序
codeSeg SEGMENT
		ASSUME CS:codeSeg, DS:datSeg
START:
		MOV AX, datSeg
		MOV DS, AX

LOOP1:
		MOV AH,2CH ;2ch号功能调用，取系统时间：ch,cl,dL中分别存放时分秒
		INT 21H
		JMP LOOP1

		MOV AH,4CH			;go back to DOS
		INT 21H
codeSeg ENDS

END START
